package com.qyer.util.log.entity;

import java.util.Map;

import com.qyer.util.log.util.PcLogUtil;

public class PcBaseLog extends BaseLog{
	private String guid = "";

	// 清洗日志字段
	private String cookieId = ""; // 用户CookieId，标志唯一用户UV
	private String pageType = ""; // 所属一级页面类型
	private String curUrl = ""; // 当前url
	private String refUrl = ""; // 来源url
	private String linkUrl ="" ; 
	private String userAgent = ""; // UA 头
	// 扩展字段
	private String urlParamStr = ""; // url参数集合
	private String logName = ""; // 日志名称标记
	
	// 页面加载时间
	private String gt_ms;

	private Map<String, String> urlParamMap = null;
	private Map<String, String> extParamMap = null;
	private Map<String, String> curlParamMap = null;
	public PcBaseLog() {
	}


	public String getCookieId() {
		return cookieId;
	}


	public void setCookieId(String cookieId) {
		this.cookieId = cookieId;
	}



	public String getUserAgent() {
		return userAgent;
	}


	public void setUserAgent(String userAgent) {
		this.userAgent = userAgent;
	}

	public String getPageType() {
		return pageType;
	}


	public void setPageType(String pageType) {
		this.pageType = pageType;
	}

	public String getCurUrl() {
		return curUrl;
	}

	public void setCurUrl(String curUrl) {
		this.curUrl = curUrl;
	}

	public String getRefUrl() {
		return refUrl;
	}


	public void setRefUrl(String refUrl) {
		this.refUrl = refUrl;
	}


	public String getUrlParamStr() {
		return urlParamStr;
	}

	public void setUrlParamStr(String urlParamStr) {
		this.urlParamStr = urlParamStr;

		Map<String, String> urlParamMap = PcLogUtil
				.requestParamUrlToMap(urlParamStr);
		this.setUrlParamMap(urlParamMap);

	}


	public Map<String, String> getUrlParamMap() {
		return urlParamMap;
	}


	public void setUrlParamMap(Map<String, String> urlParamMap) {
		this.urlParamMap = urlParamMap;
	}

	

	public String getLogName() {
		return logName;
	}


	public void setLogName(String logName) {
		this.logName = logName;
	}

	public String getGuid() {
		return guid;
	}

	public void setGuid(String guid) {
		this.guid = guid;
	}


	public String getGt_ms() {
		return gt_ms;
	}

	public void setGt_ms(String gt_ms) {
		this.gt_ms = gt_ms;
	}


	public Map<String, String> getExtParamMap() {
		return extParamMap;
	}


	public void setExtParamMap(Map<String, String> extParamMap) {
		this.extParamMap = extParamMap;
	}


	public Map<String, String> getCurlParamMap() {
		return curlParamMap;
	}


	public void setCurlParamMap(Map<String, String> curlParamMap) {
		this.curlParamMap = curlParamMap;
	}


	public String getLinkUrl() {
		return linkUrl;
	}


	public void setLinkUrl(String linkUrl) {
		this.linkUrl = linkUrl;
	}
	
}
